<?php
class Area extends AppModel{
	public $name = "Area";
 	public $primaryKey = 'id';
 	public $hasMany = array(
 		'Label' => array(
 			'className' => 'Label',
 			'foreignKey' => 'area_id'	
 		),
 		'Text' => array(
 			'className' => 'Text',
 			'foreignKey' => 'area_id'	
 		),
 		'Checkbox' => array(
 			'className' => 'Checkbox',
 			'foreignKey' => 'area_id'	
 		),
 		'Link' => array(
 			'className' => 'Link',
 			'foreignKey' => 'area_id'	
 		),
 		'Button' => array(
 			'className' => 'Button',
 			'foreignKey' => 'area_id'	
 		),
 		'Radio' => array(
 			'className' => 'Radio',
 			'foreignKey' => 'area_id'	
 		),
 		
 	);
	public $belongsTo = array(
 		'Screen' => array(
 			'className' => 'Screen',
 			'foreignKey' => 'screen_id',
 		),
 	);
	
}